/*
 * GroupListEntry.java
 *
 */

package com.sun.demo.addressbook;

/**
 *
 */
public class GroupListEntry {
    private String groupName;
    private int id;
    
    /** Creates a new instance of ListEntry */
    public GroupListEntry() {
        this("", -1);
    }
    
    public GroupListEntry(String groupName, int id) {
        this.groupName = groupName;
        this.id = id;
    }
    
    public String getName() {
        return groupName;
    }
    
    public String getGroupName() {
        return groupName;
    }
    
    public void setGroupName(String partName) {
        this.groupName = partName;
    }
    
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public String toString( ){
//        String value = groupName + ": " + id;
        return groupName;
    }
}
